export const STATUS_WORK = 512; //  实验正在运行
export const STATUS_NOT_WORK = 256; //  实验没有运行
export const STATUS_PAUSE = 768;  //  实验暂停

export function translateStausInfoEC(e) {
  if (e === "Quantitation/Standard Curve") {
    return "绝对定量/标准曲线";
  } else if (e === "Quantitation/Relative Standard Curve") {
    return e = "相对定量/双标准曲线";
  } else if (e === "Quantitation/Comparative Cq (△△Cq)") {
    return e = "相对定量（∆∆Cq）";
  } else if (e === "Melt Curve") {
    return e = "熔解曲线";
  } else if (e === "Genotyping") {
    return e = "基因分型";
  } else if (e === "Presence/Absence") {
    return e = "阳性/阴性";
  } else if (e === "Probe") {
    return e = "探针法";
  } else if (e === "SYBR Green") {
    return e = "染料法";
  } else if (e === "Fast/Block Temperature") {
    return e = "快速/模块控温";
  } else if (e === "Standard/Sample Temperature") {
    return e = "标准/样本控温";
  } else {
    return e;
  }
}

export function translateStausInfoCE(e) {
  if (e === "绝对定量/标准曲线") {
    return "Quantitation/Standard Curve";
  } else if (e === "相对定量/双标准曲线") {
    return e = "Quantitation/Relative Standard Curve";
  } else if (e === "相对定量（∆∆Cq）") {
    return e = "Quantitation/Comparative Cq (△△Cq)";
  } else if (e === "熔解曲线") {
    return e = "Melt Curve";
  } else if (e === "基因分型") {
    return e = "Genotyping";
  } else if (e === "阳性/阴性") {
    return e = "Presence/Absence";
  } else if (e === "探针法") {
    return e = "Probe";
  } else if (e === "染料法") {
    return e = "SYBR Green";
  } else if (e === "快速/模块控温") {
    return e = "Fast/Block Temperature";
  } else if (e === "标准/样本控温") {
    return e = "Standard/Sample Temperature";
  } else {
    return e;
  }
}